These events will control the Odessa scenario for the Red Front campaign.
Campaign By: Kevin 'DarthVeda' Chulski
Contact: darthveda@hotmail.com
Please email any questions/suggestions/comments that you have!
*/
scenario
{
set_nation_name("Russians", $S("Red Army"));
set_nation_name("Romans", $S("Romanians"));
// initialize variables
static int SPAWN_LOCATION = 0;
static int marine_msg = 0;
static int initial_vic = 30; // amount of time allocated to win scenario (in minutes)
static int X = 0;
static int Y = 0;
static int X2 = 0;
static int Y2 = 0;
static int m = 0;
static int m2 = 0;
static int ponc = 0;
static int dalc = 0;
// grab city IDs from the start so player can't change in midstream
// and mess up later events
static int dal_id = find_city_id( "Dalnic" );
static int pon_id = find_city_id( "Pontanka" );
labels {
//Add any constant labels here in a comma separated list.
}
run_once {
//Insert commands that should be executed only once when the script is loaded here.
//disable weird things
disable_type("Helicopter");
disable_type("Nuclear Missile");
disable_type("Spy");
disable_tech(3, "Allegiance");
disable_tech(3, "Computerization");
set_music_mood("losing", true);
// disable wonders
disable_type( "Pyramids" );
disable_type( "Colossus" );
disable_type( "Terra Cotta Army" );
disable_type( "Colosseum" );
disable_type( "Temple of Tikal" );
disable_type( "Porcelain Tower" );
disable_type( "Angkor Wat" );
disable_type( "Versailles" );
disable_type( "Statue of Liberty" );
disable_type( "Kremlin" );
disable_type( "Taj Mahal" );
disable_type( "Eiffel Tower" );
disable_type( "Supercollider" );
disable_type( "Space Program" );
// disable certain buildings
disable_type( "Scholar" );
disable_type( "Small City" );
disable_type( "University" );
disable_type( "Library" );
// set timers
set_timer("outlast", 600);
set_timer("bigpush", 1560);
set_timer("the_end", 1800);
set_timer("vicupdater", 60);
set_timer("reinforcements", 50);
set_timer("marines",90);
// disable triggers
// blurb
popup_dialog("August 1941 - The situation is grim, comrade general. Most of the Soviet Union's borders have been overrun and now we receive word that the Romanians have crossed the border and have their eyes set on conquering the Ukraine. The forces under your command are either poorly trained or whipped from fighting the Germans in the north. However, you will have to make the best defense of Odessa until Moscow levies new orders for you. Defend to the last, comrade general.");
popup_dialog("NEW OBJECTIVE: Survive for 30 minutes.");
add_objective( "Survive for 30 minutes", "survive", "null.wav");
popup_dialog( "A convoy of reinforcements is headed our way from Sevestapol. It contains a shipment of new Katyusha rockets. Let us put them to good use against the enemies of the Motherland." );
popup_dialog("Excellent work comrade general. We have been able to hold up the German and Romanian offensive despite the odds against us. Your troops have been relieved temporarily and will join up with other combat units elsewhere on the front. Though we have lost this battle, we have not yet lost the war!");
popup_dialog("You are now ready for the third part of this campaign. Please load the next scenario in the Red Front sequence.");